package com.ygs.secs.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.ygs.secs.mapper.CharacteristicActivitiesMapper;
import com.ygs.secs.model.CharacteristicActivities;
import com.ygs.secs.service.CharacteristicActivitiesService;

@Service
public class CharacteristicActivitiesServiceImpl implements CharacteristicActivitiesService {

    @Resource
    private CharacteristicActivitiesMapper characteristicActivitiesMapper;

    @Override
    public int deleteByPrimaryKey(Integer activitieid) {
        return characteristicActivitiesMapper.deleteByPrimaryKey(activitieid);
    }

    @Override
    public int insert(CharacteristicActivities record) {
        return characteristicActivitiesMapper.insert(record);
    }

    @Override
    public int insertSelective(CharacteristicActivities record) {
        return characteristicActivitiesMapper.insertSelective(record);
    }

    @Override
    public CharacteristicActivities selectByPrimaryKey(Integer activitieid) {
        return characteristicActivitiesMapper.selectByPrimaryKey(activitieid);
    }

    @Override
    public int updateByPrimaryKeySelective(CharacteristicActivities record) {
        return characteristicActivitiesMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CharacteristicActivities record) {
        return characteristicActivitiesMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<CharacteristicActivities> list) {
        return characteristicActivitiesMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<CharacteristicActivities> list) {
        return characteristicActivitiesMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<CharacteristicActivities> list) {
        return characteristicActivitiesMapper.batchInsert(list);
    }

    @Override
    public List<CharacteristicActivities> selectByEnterpriseID(String enterpriseid) {
        return characteristicActivitiesMapper.selectByEnterpriseID(enterpriseid);
    }

}
